package com.my.study.designPatterns.facadePattern;

public class FacadePatternDriver {

    public static void main(String[] args) {


        Light diningRoomLight = new Light("dinningRoom");
        Light bathRoomLight = new Light("bathRoom");
        Light bedroomLight = new Light("bedroom");
        MyHomeFacadePattern facadePattern = new MyHomeFacadePattern(new Heater(), diningRoomLight, bedroomLight, bathRoomLight, new TV());

        facadePattern.backHome();
    }
}
